﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using GDoc.Domain;

namespace GDoc.Web.Models
{
    public class AccountCreateModel
    {
        [Required(ErrorMessage = "Ingrese un nombre para la cuenta.")]
        [Display(Name = "Nombre de Cuenta")]
        public string Name { get; set; }
    }

    public class AccountIndexModel
    {
        public Account Account{ get; set; }
    }

    public class AccountSelectModel
    {
        public Domain.User User { get; set; }
    }

    public class AccountUsersModel
    {
        public Account Account { get; set; }
    }

    public class AccountGroupModel
    {
        public Account Account { get; set; }

        public UserGroup Group { get; set; }
    }

    public class AccountUserModel
    {
        public Account Account { get; set; }

        public UserRoleInAccount User { get; set; }
    }
}